﻿namespace WorkOrder.Model
{
    public class Model_Table_Process
    {
        private string _process_id;
        private string _process;
        private decimal _timeout;
        private decimal _time_alarm;
        private string _remark;

        /// <summary>
        /// 流程ID
        /// </summary>
        public string Process_id { set { _process_id = value; } get { return _process_id; } }


        /// <summary>
        /// 流程步骤名称
        /// </summary>
        public string Process
        {
            set { _process = value; }
            get { return _process; }
        }

        /// <summary>
        /// 时限
        /// </summary>
        public decimal Timeout
        {
            set { _timeout = value; }
            get { return _timeout; }
        }

        /// <summary>
        /// 预警阀值
        /// </summary>
        public decimal Time_alarm
        { set { _time_alarm = value; } get { return _time_alarm; } }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        public Model_Table_Process() { }
        public Model_Table_Process(string process_id, string process, decimal timeout, decimal time_alarm, string remark)
        {
            _process_id = process_id;
            _process = process;
            _timeout = timeout;
            _time_alarm = time_alarm;
            _remark = remark;
        }
    }
}
